﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PinWin
{
	public class WindowInfo
	{
		IntPtr handle;
		IntPtr hWnd;
		string processName;
		string mainWindowTitle; 
		IntPtr mainWindowHandle;
		int id;

		public WindowInfo(int id, IntPtr handle, IntPtr hWnd, string processName, string mainWindowTitle, IntPtr mainWindowHandle)
		{
			this.id = id;
			this.handle = handle;
			this.hWnd = hWnd;
			this.processName = processName;
			this.mainWindowTitle = mainWindowTitle;
			this.mainWindowHandle = mainWindowHandle;
		}

		public int Id 
		{
			get 
			{
				return id; 
			}
		}

		public IntPtr Handle 
		{
			get 
			{
				return handle; 
			}
		}
		public IntPtr HWnd
		{
			get
			{
				return hWnd;
			}
		}
		public string ProcessName
		{
			get
			{
				return processName;
			}
		}
		public string MainWindowTitle
		{
			get
			{
				return mainWindowTitle;
			}
		}
		public IntPtr MainWindowHandle
		{
			get
			{
				return mainWindowHandle;
			}
		}
	}
}
